package com.cyzy.service;

import com.cyzy.dao.DistributionApplicationDao;
import com.cyzy.pojo.Campusdistriapply;
import com.cyzy.pojo.CourseParent;
import com.cyzy.pojo.DistributorApp;
import com.cyzy.pojo.User;

import java.util.List;

public interface DistributionService {

    User getUser(Long userId);

    CourseParent getParent(Long parentId);

    DistributionApplicationDao selectUser(Long userId);

    DistributionApplicationDao selectParent(Long parentId);

    DistributorApp exitUser(DistributorApp distributorApp);

    void insertDistributionApp(DistributorApp distributorApp);

    void schoolDistributionApp(Campusdistriapply campusdistriapply);

    Campusdistriapply exitCampusApp(Campusdistriapply campusdistriapply);
}
